class CreateCommunityMemberRequests < ActiveRecord::Migration
  def self.up
    create_table :community_member_requests do |t|
      t.string :name
      t.text :comment
      t.references :user
      t.references :community
      t.references :role
      t.integer :target_user_id

      t.timestamps
    end
  end

  def self.down
    drop_table :community_member_requests
  end
end
